package com.sunsy.authserver.beans.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class LoginDto {
    @NotNull(message = "callback_url不可为空")
    private String callback_url;
    @NotNull(message = "clientId不可为空")
    private String clientId;
    @NotNull(message = "密钥不可为空")
    private String clientSecret;
    @NotNull(message = "域账号/邮箱/手机号不可为空")
    private String login_identity;
    @NotNull(message = "密码不可为空")
    private String password;


}
